package com.tengfei.main.exam.domain.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author feige
 * @version v1.0
 * @date 2022-09-21-20:32
 * @description
 */

@Data
@ApiModel("试卷用户题目业务对象")
public class PaperUserQuBo {

    /**
     * 主键
     */
    @ApiModelProperty(value = "主键", required = true)
    @NotNull(message = "id不能为空")
    private Long id;

    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id", required = true)
    @NotNull(message = "用户id不能为空")
    private Long userId;

    /**
     * 题目id
     */
    @ApiModelProperty(value = "试卷id", required = true)
    @NotNull(message = "试卷id不能为空")
    private Long paperId;

    /**
     * 题目分数
     */
    @ApiModelProperty(value = "用户题目分数", required = true)
    @NotNull(message = "用户题目分数不能为空")
    private Integer userScore;

}
